package ysq.xyg.model.info;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户
 * */

public class UserInfo implements Serializable {

    private int userId;
    //用户名
    private String userName;
    //密码
    private String userPassword;
    //注册时间
    private Date userDate;
    //微信openid
    private String openid;
    private Integer autoLogin;//自动登录：1.否，2.是
    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public Date getUserDate() {
        return userDate;
    }

    public void setUserDate(Date userDate) {
        this.userDate = userDate;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public Integer getAutoLogin() {
        return autoLogin;
    }

    public void setAutoLogin(Integer autoLogin) {
        this.autoLogin = autoLogin;
    }
}